import request from '@/utils/request'

export function getMsg(opCode) {
  return request({
    url: '/recordApi/msg/' + opCode,
    method: 'get'
  })
}

export function clearMsg(opCode) {
  return request({
    url: '/recordApi/msg/clear/' + opCode,
    method: 'delete'
  })
}

export function removeMsg(id) {
  return request({
    url: '/recordApi/msg/' + id,
    method: 'delete'
  })
}